<?php $this->load->view('public/front_pubnav');?>
<div class="main_head">
    <div class="main_head_tit">亲，你还没有关注好友，看看我们为你推荐的达人吧！</div>
    <div class="okshow">选好了去看看>></div>
</div>
<div class="clr"></div>
<div id="main">
    <div class="recommend">
        <div class="recommend_tit">推荐关注</div>
        <div class="clr"></div>
        <div class="recommend_content">有没有为了选衣、搭配烦恼？关注菇凉们喜欢的选衣专家与搭配达人，让你轻松穿出“范儿”！</div>
    </div>
    <div class="clr"></div>
    <?php if(!empty($result)) {foreach($result as $resk => $resv){?>
    <div class="guest_box">
        <div class="guest_leftbox">
            <div class="guest_mess">
                <div class="guest_head"><a href="<?php echo base_url('column/center').'/'.$resv['id'];?>"><img src="<?php if(!empty($resv['img'])) {echo base_url().'upload/avator/'.$resv['img'];}else{ echo 'http://assets.taobaocdn.com/app/sns/img/default/avatar-60.png'; }?>"></a></div>
                <div class="guest_text">
                    <div class="screen"><a href="<?php echo base_url('column/center').'/'.$resv['id'];?>"><?php echo $resv['name'];?></a></div>
                    <div class="screen_content">原宿系搭配达人</div>
                </div>
            </div>
            <div class="clr"></div>
            <div class="constellation">
                <div class="constellation_name">
                    <div class="constellation_name_tit">星座：</div>
                    <div class="constellation_name_content"><?php $one_con = $this->common->get_one_list($resv['constellation']); if(!empty($one_con)) echo $one_con['name'];?></div>
                    <div class="constellation_name_tit1">职业：</div>
                    <div class="constellation_name_content"><?php $one_job = $this->common->get_one_list($resv['position_id']); if(!empty($one_job)) echo $one_job['name'];?></div>
                </div>
                <div class="clr"></div>
                <div class="daren"><br></div>
            </div>
            <div class="clr"></div>
            <div class="attention"><a focuser_id='<?php echo $memv['id'];?>' class="focuser_img"><img src="<?php echo base_url();?>images/column/atten.jpg"></a></div>
        </div>
        <div id="workDemo">
        	<?php if(!empty($column_re[$resk])){ foreach($column_re[$resk] as $crk => $crv){?>
            <a href="<?php if(!empty($crv['id'])){ echo base_url().'column/detail/'.$crv['id'];}?>"><img width="110px" height="140px" src="<?php if(!empty($crv['img'])){ echo base_url().'upload/column/'.$crv['img'];}?>"><span></span></a>
            <?php }}?>
        </div>
    </div>
    <?php }}?>
    <div class="clr"></div>
    <div class="change_img"><img src="<?php echo base_url();?>images/column/change.jpg" onclick="window.location.reload()" style="cursor:pointer"></div>
    

</div>

<div class="clr1"></div>

<div class="fotter">
    <div class="fotter1">
        <div class="fotter2">
            <h4>关于公主恋</h4> <h4>合作伙伴</h4><h4> 营销中心</h4><h4>联系客服</h4><h4>诚征英才</h4><h4> 联系我们</h4><h4> 法律声明</h4>                     </div>
        <div class="clr"></div>
        <div class="xian"></div>
        <div class="clr"></div>
        <div class="fotter2">2012-2013 公主恋 版权所有，并保留所有权利。  ICP备案证书号:辽ICP备12008461号 </div>
    </div>
</div>

<div id="bg"></div>
<script type="text/javascript">
    $(document).ready(function(){
        $('.focuser_img').click(function(){
            $focuser = $(this).attr('focuser_id');
            $.ajax({
                type:"POST",
                url:"<?php echo base_url().'index/addfocus';?>",
                dataType:"json",
                data:{'focuser':$focuser},
                success:function(data){
                    alert(data.info);
                }
            })
        })

    })
</script>

<script type="text/javascript">
    function bookmarksite(title, url){
        if (document.all)
            window.external.AddFavorite(url, title);
        else if (window.sidebar)
            window.sidebar.addPanel(title, url, "")
    }
</script>

</body>
</html>
